<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

<html xmlns="http://www.w3.org/1999/xhtml" 
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:h="http://java.sun.com/jsf/html">
	<head>
		<title>
		</title>	
	</head>
	<body>
		<ui:composition template="/Template/template01.xhtml">		
			<ui:define name="body">
			<link href="css/global.css" rel="stylesheet" type="text/css"/> 
			 <style>
			  	.lbl { cursor:pointer; text-decoration: underline; font-family: sans-serif; font-size: 11px; color: #021f91; }
			  </style>
			
				<h:form id="detailForm">
				<h:inputHidden id="method"></h:inputHidden>		
				<h:inputHidden value="#{user.idRole}" id="cborol" />
  <table width="95%" border="0" cellpadding="0" cellspacing="0" class="TablaBody1">
    <tr>
      <td colspan="2" align="right" class="CelTop">
      <h:graphicImage library="images" name="transp.gif" width="1" height="1"/>
      </td>
      <td width="6%" rowspan="3" align="right" valign="middle">&nbsp;</td>
    </tr>
    <tr>
      <td width="3%" height="10" align="right">
      <h:graphicImage library="images" name="flechanaranja.gif" width="11" height="13"/>
      </td>
     
	      <td width="91%">
		      <span class="TextoTitulosBlack">
		      	#{message.menuAdministracion}:
		      </span> 
		      <span class="TextoTitulos">
		      	#{message.solicitud}
		      </span>
	      </td>      
      
    </tr>
    <tr>
      <td height="19" align="right" class="CelUnder">&nbsp;</td>
      <td class="TextoTitulos">&nbsp;</td>
    </tr>
  </table>
  <table width="101%" border="0" cellpadding="0" cellspacing="0" class="TablaBody1">
    <tr>
      <td width="25" class="celBodyLeft">&nbsp;</td>
      <td width="771">
      <table width="85%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="18" valign="bottom" class="TextoTitulo2">
            	#{message.usr_DetailTitulo}
            </td>
          </tr>
      </table>
          <table width="85%" border="0" cellpadding="0" cellspacing="0" class="fondo-blanco">
            <tr align="center" >
            	
	              <td valign="bottom" nowrap="nowrap" class="TabOn">
		              <span class="FontTabOn">
		              	#{message.cfg_InformationInformacion}
		              </span>
	              </td>
	              <td width="4" align="right" nowrap="nowrap" class="TitulosTablas">
	              <h:graphicImage library="images" name="transp.gif" width="1" height="1"/><h:graphicImage library="images" name="transp.gif" width="1" height="1"/></td>
	              <td width="140" align="center" valign="bottom" nowrap="nowrap">
	              	
	              </td>
	              <td align="right" nowrap="nowrap" class="">&#160;</td>              	              
	              <td width="83" align="right" nowrap="nowrap">
	              	<span class="paginacion">
						<h:commandLink id="abcdef" actionListener="#{solicitud.crearRequerimiento}" action="#{solicitud.processAction}" value="#{message.irAlListado}"/>
	              	</span>
	              </td>              
             
            </tr>
          </table>
        <table width="85%" border="0" cellpadding="0" cellspacing="0" class="fondo-blanco" dwcopytype="CopyTableCell">
            <tr align="left" >
              <td height="6" colspan="10" class="FondoCelAzul"><h:graphicImage library="images" name="transp.gif" width="1" height="1"/></td>
            </tr>
            <tr align="left" >
              <td height="1" colspan="10"><h:graphicImage library="images" name="transp.gif" width="1" height="1"/></td>
            </tr>
        </table>
        <table width="85%" border="1" cellpadding="5" cellspacing="1" bordercolor="#CCCCCC" class="">
            <tr align="center" >
              <td align="center" nowrap="nowrap" bgcolor="#FFFFFF">
              <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="TablaTabs">
           
                 
                  <tr align="left">
                    <td width="33%" height="22" class="TextTabBody">
                    	ID:&#160;&#160;
                    </td>
                    <td width="67%" class="TextoCuerpo1">
                    	<h:outputText id="idUser" value="#{solicitud.id}" />
                    </td>
                  </tr>
                  <tr valign="middle" align="left">
                    <td width="37%" height="22" class="TextTabBody">
                    	#{message.solicitud}:&#160;&#160;
                    </td>
                    <td width="63%" class="TextoCuerpo1">
                    	<h:outputText id="us" value="#{solicitud.description}" styleClass="Texbox3"/>
                    </td>
                  </tr>     
                  
                  <tr valign="middle" align="left">
                    <td height="22" class="TextTabBody">
	                    	#{message.tipo}:&#160;&#160;
                    </td>
                    <td class="TextoCuerpo1">
	                    <h:outputText id="st1" value="SAI" rendered="#{solicitud.type == '1'}" styleClass="Texbox3"/>
	                    <h:outputText id="st2" value="OS" rendered="#{solicitud.type == '2'}" styleClass="Texbox3"/>
                    </td>
                  </tr> 
                  
                  <tr valign="middle" align="left">
                    <td height="22" class="TextTabBody">
                    	#{message.numero}:&#160;&#160;
                    </td>
                    <td class="TextoCuerpo1">
								<h:outputText id="name" value="#{solicitud.number}" styleClass="Texbox3" />           	
                    </td>
                  </tr>
               <h:panelGroup rendered="#{container.vcType == '1'}">     
                  
                     <tr valign="middle" align="left">
                    <td height="22" class="TextTabBody">
	                    	#{message.recurso}:&#160;&#160;
                    </td>
                    <td class="TextoCuerpo1">
		                    <h:selectOneMenu id="radio" value="#{solicitud.idUser}" styleClass="combo1">
									<f:selectItem itemValue="Seleccione" itemLabel="Seleccione"/>
									<f:selectItems value="#{solicitud.listUser}" var="user" itemValue="#{user.inIduser}" itemLabel="#{user.vcName}"/>			
							</h:selectOneMenu>
                    </td>
                  </tr>
              </h:panelGroup>
              
              
             
              
              
              
              </table>
              
                <table width="90%">
	              	<tr>													
							<td colspan="2">
							<span class="TextoTitulo2">#{message.regreq}</span>
							</td>
							<td align="right">
								<span class="paginacion">
									<h:commandLink actionListener="#{solicitud.retornar}" action="#{solicitud.processAction}" value="#{message.irAlListado}"/>
								</span>
							</td>
					</tr>
				</table>
              
              <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="TablaTabs">
           
                 
                  <tr align="left">
                    <td width="33%" height="22" class="TextTabBody">
                    	#{message.subproducto}:&#160;&#160;
                    </td>
                    <td width="0%" class="TextoCuerpo1">
                    	<h:selectOneMenu id="CboSub" value="#{solicitud.idSubproducto}" styleClass="combo1">
									<f:selectItem itemValue="0" itemLabel="Seleccione"/>
									<f:selectItems value="#{solicitud.listSubproducto}" var="user" itemValue="#{user.inIdSubProducto}" itemLabel="#{user.vcName}"/>			
						</h:selectOneMenu>
                    </td>
                    <td width="100%" align="left" ><span style="color: red;">&#160;&#160;*</span></td>
                  </tr>
                  
                  <tr valign="middle" align="left">
                    <td height="22" class="TextTabBody">
	                    	#{message.tiporeq}:&#160;&#160;
                    </td>
                    <td class="TextoCuerpo1">
		                    <h:selectOneMenu id="cboType" value="#{solicitud.typeReq}" styleClass="combo1">
		                    			<f:selectItem itemValue="0" itemLabel="Seleccione"/>
										<f:selectItem id="radio1" itemLabel="Funcionalidad" itemValue="1" />
										<f:selectItem id="radio2" itemLabel="Usabilidad" itemValue="2" />
										<f:selectItem id="radio3" itemLabel="Confiabilidad" itemValue="3" />
										<f:selectItem id="radio4" itemLabel="Eficiencia" itemValue="4" />
										<f:selectItem id="radio5" itemLabel="Portabilidad" itemValue="5" />
										<f:selectItem id="radio6" itemLabel="Mantenibilidad" itemValue="6" />
							</h:selectOneMenu>
                    </td>
                     <td align="left" ><span style="color: red;">&#160;&#160;*</span></td>
                  </tr> 
                  
                   <tr valign="middle" align="left">
                    <td height="22" class="TextTabBody">
                    	#{message.descripcion}:&#160;&#160;
                    </td>
                    <td class="TextoCuerpo1">
								<h:inputTextarea value="#{solicitud.descriptionReq}" cols="30" rows="10" styleClass="Texbox3"/>         	
                    </td>
                    <td align="left" ><span style="color: red;">&#160;&#160;*</span></td>
                  </tr>
                  
                  
                  
                 
                  
                  <tr valign="middle" align="left">
                   <td align="left" class="TextTabBody" style="color: red !important; text-align: left !important;">(*) Campos obligatorios</td>
                   <td colspan="2">
                   			<h:commandButton actionListener="#{solicitud.finalizarCrear}"  action="#{solicitud.processAction}" value="Grabar" styleClass="botonmediano" rendered="#{container.vcType == '4'}"/>
                   			<h:commandButton actionListener="#{solicitud.retornar}" action="#{solicitud.processAction}" value="Cancelar" styleClass="botonmediano"/>
               		</td>
              </tr>
              
              </table>
				     
              </td>
            </tr>
        </table>
        <p>&nbsp;</p></td>
    </tr>
  </table>
  <br/>
  <br/>	
  	<div id="roleDetail">
		<iframe  id="roleUpdate" frameborder="0"  scrolling="yes" style="width: 100% !important; height: 100%;"/>
	</div>
				<h:inputHidden id="DivFor"></h:inputHidden></h:form>
			</ui:define>
		</ui:composition>
	</body>	
</html>